Ext.define("extjs6test.store.Department", {
    extend: 'extjs6test.store.BaseStore',
    model: 'extjs6test.model.core.Department',
    alias: 'store.departments',
    proxy: {
        url: 'app/data/departments.json'
    },
    listeners: {
        load:'onLoad'
    },
    onLoad:function (storee, records) {
        console.log("department store is loaded");
    }
});